package admin.javabeans;

import java.util.List;

// Created on:	2-Jun-08
// Author:		Richard Shih

public class PhoneAccount
{

	public enum Status
	{
		DEACTIVATED, ACTIVATED
	}

	public enum Permission
	{
		SEND, RECEIVE, BOTH
	}

	private Customer			customer;
	private String				accountNo;
	public double				balance;

	private String				extension;
	private String				ipAddress;
	private Status				status;
	private Permission			permissions;

	private BillingPlan			billingPlan;
	private List<CallRecord>	callRecord;
	private List<PhoneBill>		phoneBills;

	public PhoneAccount()
	{
	}

	public Customer getCustomer()
	{
		return customer;
	}

	public void setCustomer(Customer customer)
	{
		this.customer = customer;
	}

	public String getAccountNo()
	{
		return accountNo;
	}

	public void setAccountNo(String accountNo)
	{
		this.accountNo = accountNo;
	}

	public double getBalance()
	{
		return balance;
	}

	public void setBalance(double balance)
	{
		this.balance = balance;
	}

	public String getExtension()
	{
		return extension;
	}

	public void setExtension(String extension)
	{
		this.extension = extension;
	}

	public String getIpAddress()
	{
		return ipAddress;
	}

	public void setIpAddress(String ipAddress)
	{
		this.ipAddress = ipAddress;
	}

	public Status getStatus()
	{
		return status;
	}

	public void setStatus(Status status)
	{
		this.status = status;
	}

	public Permission getPermissions()
	{
		return permissions;
	}

	public void setPermissions(Permission permissions)
	{
		this.permissions = permissions;
	}

	public BillingPlan getBillingPlan()
	{
		return billingPlan;
	}

	public void setBillingPlan(BillingPlan billingPlan)
	{
		this.billingPlan = billingPlan;
	}

	public List<CallRecord> getCallRecord()
	{
		return callRecord;
	}

	public void setCallRecord(List<CallRecord> callRecord)
	{
		this.callRecord = callRecord;
	}

	public List<PhoneBill> getPhoneBills()
	{
		return phoneBills;
	}

	public void setPhoneBills(List<PhoneBill> phoneBills)
	{
		this.phoneBills = phoneBills;
	}

}
